<!-- BEGIN CONTENT -->
	<div id="content">	    
	    <div class="box-out">
	    	<div class="box-in">
	    		<div class="box-head"><h1>Tin tức</h1></div>
	    		<div class="box-content">
	    			<div class="notification error-box">
	    				<div class="messages">Error messages <div class="close"><img src="<?php echo STATIC_DOMAIN ?>skins/admin/images/icon/close.png" alt="close" /></div></div>
	    			</div><!-- end div .notification error -->
	    			<div class="notification success">
	    				<div class="messages">Successfull messages <div class="close"><img src="<?php echo STATIC_DOMAIN ?>skins/admin/images/icon/close.png" alt="close" /></div></div>
	    			</div><!-- end div .notification success -->
	    			<div class="notification warning">
	    				<div class="messages">Warning messages <div class="close"><img src="<?php echo STATIC_DOMAIN ?>skins/admin/images/icon/close.png" alt="close" /></div></div>
	    			</div><!-- end div .notification warning -->
	    			<div class="notification info">
	    				<div class="messages">info messages <div class="close"><img src="<?php echo STATIC_DOMAIN ?>skins/admin/images/icon/close.png" alt="close" /></div></div>
	    			</div><!-- end div .notification info -->	    			
	    			<div class="table">
	    				<form action="" method="post">
	    					<table>
	    						<thead>
	    							<tr>
	    								<td class="checkbox"><div><input type="checkbox" class="check_all" /></div></td>
	    								<td><div>Tiêu đề</div></td>
	    								<td><div>Miêu tả</div></td>	    								
	    								<td><div>Actions</div></td>
	    							</tr>
	    						</thead>
	    						<tbody>
	    							<?php if($infos):?>
	    							<?php foreach($infos as $index=> $info):?>
		    							<tr>
		    								<td class="checkbox"><div class="even"><input type="checkbox" class="check_item" name="check_item[]" value="<?php echo $info['id']?>"/></div></td>
		    								<td><div class="even"><?php echo $info['title']?></div></td>
		    								<td><div class="even"><a class="tooltip" href="#" title="edit this item"><?php echo $info['description']?></a></div></td>	    								
		    								<td class="action"><div class="even"><a class="tooltip" href="<?php echo STATIC_DOMAIN.'admin/news/edit/'.$info['id']?>" title="edit this item">Edit</a> - <a class="tooltip" href="<?php echo STATIC_DOMAIN.'admin/news/delete/'.$info['id']?>" title="delete this item">Delete</a></div></td>
		    							</tr>
	    							<?php endforeach;?>
	    							<?php endif;?>	    							
	    						</tbody>
	    					</table>
	    					<div class="actions">
	    						<select class="applyfield" name="applyfield">
	    							<option value="0">Choose</option>
	    							<option value="1">Delete</option>
	    						</select>
	    						<input type="submit" class="apply" value="apply" />
	    					</div><!-- end div .actions -->
	    					<div class="pagination">
			                    <?php if($pagination != ''): ?>			                    
			                    <?php echo $pagination ?>
			                    <?php endif; ?>
			                </div>
			                <span id="current_page" style="display:none"><?php echo $cur_page?></span>
			                <!-- end div .pagination -->
	    				</form>
	    			</div><!-- end div .table -->
	    		</div><!-- end div .box-content -->
	    	</div><!-- end div .box-in -->
	    </div><!-- end div .box-out -->	    	    
	</div><!-- end div #content -->	
	<!-- END CONTENT -->
	
	<script type="text/javascript">
	$(document).ready(function(){
		$('.check_all').click(function () {
		    $(this).closest('table').find('input[type=checkbox]').prop('checked', this.checked);
		});		
	})
	</script>